package com.ev.asl.dao;

import com.ev.asl.domain.CheckResultDetailDO;
import com.ev.asl.vo.CheckResultDetail2VO;
import com.ev.asl.vo.CheckResultDetailDOVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 姚家乐
 * @since 2021/6/18 13:21
 */
@Mapper
public interface CheckResultDetailDao {

    List<CheckResultDetailDO> list(@Param("mainId") Long mainId);

    List<CheckResultDetailDOVo>   listForDetail(@Param("mainId") Long mainId);

    Integer batchSave(List<CheckResultDetailDO> param);

    Integer batchUpdate(List<CheckResultDetail2VO> param);

    Integer remove(@Param("mainId") Long mainId);

    int batchRemove(Long[] ids);

}
